/* 
 * File:   server_global.h
 * Author: tangchao
 *
 * Created on 2013年5月13日, 下午2:21
 */

#ifndef SERVER_GLOBAL_H
#define	SERVER_GLOBAL_H

#include <pthread.h>
#include "log.h"

#define MAX_BUF 0x4000

#define default_max_table_partitions    0xff
#define default_max_databases   0x80
#define default_max_tables  0xffff

extern char *dp_version;
extern char *server_name;
extern char *datadir;
extern char *basedir;
extern char *logdir;
extern char *dpfile;

extern uint32 table_partitions;
extern uint32 max_databases;
extern uint32 max_tables;
extern uint32 max_table_partitions;

extern uint32 gtrid;

#endif	/* SERVER_GLOBAL_H */

